package com.cssw.fyzb.core.dao.text;



import com.cssw.fyzb.core.model.dodb.SysText;
import com.cssw.fyzb.core.model.dodb.SysTextKind;
import com.ydn.dbframe.plugin.activerecord.Page;

import java.util.List;


public interface TextKindDao {

    List<SysText> testKindList(String kindCode);

    SysText getSysText(String textCode);

    Page<SysTextKind> listKind(int page, int limit);

    Boolean saveKind(String kindCode,String kindName,Long sysOperId);

    Boolean updateKind(String kindCode,String kindName,Long sysOperId);

    Boolean deleteKind(String kindCode,Long sysOperId);

    Page<SysText> list(int page, int limit);

    Boolean save(String textCode,String textName,String kindCode,String content,String textUrl,Long sysOperId);

    Boolean update(String textCode,String textName,String kindCode,String content,String textUrl,Long sysOperId);

    Boolean delete(String textCode,Long sysOperId);
}
